/*
 * @Author: 许警 11378748333@
 * @Date: 2024-03-22 13:04:11
 * @LastEditors: 许警 11378748333@
 * @LastEditTime: 2025-03-27 15:25:37
 * @FilePath: /hsxlsystem/src/views/business/huifang/user_evaluate/data.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export const columnsArr = [
  {
    title: '订单号',
    dataIndex: 'number',
    className: 'table',
    align: 'center'
  },
  {
    title: '用户姓名',
    dataIndex: 'userName',
    className: 'table',
    align: 'center'
  },
  {
    title: '服务名称',
    dataIndex: 'serviceName',
    className: 'table',
    align: 'center'
  },
  {
    title: '评价时间',
    dataIndex: 'createdAt',
    className: 'table',
    align: 'center'
  },

  {
    title: '所属渠道',
    dataIndex: 'institution',
    className: 'table',
    align: 'center'
  },
  {
    title: '服务护士',
    dataIndex: 'nurseName',
    className: 'table',
    align: 'center'
  },
  {
    title: '护士ID',
    dataIndex: 'nurseId',
    className: 'table',
    align: 'center'
  },
  {
    title: '护士专业性评分',
    dataIndex: 'nurseSpecialityScore',
    className: 'table',
    align: 'center'
    // slots: {
    //   customRender: 'dispatchIsSatisfaction'
    // }
  },
  {
    title: '护士服务态度评分',
    dataIndex: 'nurseAttitudeScore',
    className: 'table',
    align: 'center',
    ellipsis: true
  },
  {
    title: '护士准时评分',
    dataIndex: 'nurseOnTime',
    className: 'table',
    align: 'center'
  },
  {
    title: '平台服务人员评分',
    dataIndex: 'dispatchScore',
    className: 'table',
    align: 'center'
  },
  {
    title: '备注',
    dataIndex: 'nurseOpinion',
    className: 'table',
    align: 'center',
    ellipsis: true
  },
  {
    title: '操作',
    dataIndex: 'operation',
    className: 'table',
    align: 'center',
    fixed: 'right',
    slots: {
      customRender: 'operation'
    }
  }
]

export const satisfiedArr = [
  {
    name: '满意',
    id: 1
  },
  {
    name: '不满意',
    id: 2
  }
]

export const statusColorObj = {
  1: 'success',
  2: 'error'
}

export const statusTextObj = {
  1: '满意',
  2: '不满意'
}

export const dataObj = {
  time: [],
  number: '',
  visible: false,
  labelCol: {
    style: {
      fontWeight: 'bolder'
    }
  }
}
